/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import io.netty.util.internal.ThreadLocalRandom;
/*    */ import java.util.Random;
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraft.client.audio.ISound;
/*    */ import net.minecraft.util.math.MathHelper;
/*    */ import net.minecraftforge.client.event.sound.PlaySoundEvent;
/*    */ import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
/*    */ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
/*    */ 
/*    */ 
/*    */ 
/*    */ @EventBusSubscriber(modid = "dragoncore")
/*    */ public class so
/*    */ {
/*    */   @SubscribeEvent
/*    */   public static void v(PlaySoundEvent a) {
/* 19 */     if (a.getSound() instanceof gr)
/*    */       return; 
/* 21 */     boolean bool = a.getName().endsWith(".ogg");
/* 22 */     if (bool) {
/* 23 */       a.setResultSound(null);
/* 24 */       ISound iSound = a.getSound();
/* 25 */       iSound.func_184366_a(Minecraft.func_71410_x().func_147118_V());
/*    */       
/* 27 */       String str = MathHelper.func_180182_a((Random)ThreadLocalRandom.current()).toString();
/*    */       
/* 29 */       de.v((vh)null, str, a.getName(), iSound.func_184365_d(), iSound.func_147653_e(), iSound.func_147655_f(), iSound
/* 30 */           .func_147649_g(), iSound.func_147654_h(), iSound.func_147651_i(), iSound.func_147657_c());
/*    */     } 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\so.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */